package com.huhao.smark;

import java.util.Arrays;
import java.util.List;

public class Config {
    // 基础IP和端口配置，请注意端口号前面**有冒号**
    public static final String IP = "172.23.192.46";
    public static final String PORT = ":8080";
    // 各功能接口API
    public static final String NEWS_API = "https://60s-api.viki.moe/v2/60s?encoding=text";
    public static final String REGISTER_API = "/api/users/register";
    public static final String LOGIN_API = "/api/users/login";
    public static final String ADD_RECORD = "/api/bookkeeping";
    public static final String USER_INFO = "/api/users/account";
    public static final String USER = "/api/users";
    // HTTP 或 HTTPS
    public static final String HTTP = "http://";
    public static final String HTTPS = "https://";
    public static final String BASE_URL = HTTP + IP + PORT;
    // 关键词联想
    public static final List<String> KEYWORD_LIST = Arrays.asList(
            "账本", "个人主页", "账号与安全", "通用设置", "功能介绍", "帮助与反馈", "关于"
    );

}